package com.aj.easylibrary.base;

import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;

/**
 * Created by gaj on 2019/3/12.
 */
public abstract class BaseActivity extends AppCompatActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(getContentViewLayout());
        initIView();
        initIEvent();
        setInitValues();
    }

    protected void setInitValues() {

    }

    protected void initIEvent() {

    }

    protected void initIView() {

    }

    protected abstract int getContentViewLayout();
}
